<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <!--按顺序引入-->
  <script src="../js/react.development.js"></script>
  <script src="../js/react-dom.development.js"></script>
  <script src="../js/babel.min.js"></script>
</head>
<body>
<div id="app"></div>

<script type="text/babel">
  // 创建虚拟DOM
  const VDOM = <h1>hello react</h1>
  // 渲染
  ReactDOM.render(VDOM, document.getElementById(('app')))
</script>
</body>
</html>
